inherited frmTd_TraderInit: TfrmTd_TraderInit
  Left = 329
  Top = 165
  Caption = #23458#25143#24448#26469#27454#21021#22987#21270
  PixelsPerInch = 96
  TextHeight = 12
  inherited Panel1: TPanel
    inherited labFuncName: TcxLabel
      Style.IsFontAssigned = True
    end
    inherited labFuncDesc: TcxLabel
      Style.IsFontAssigned = True
    end
    inherited edtFilter: TcxTextEdit
      ExplicitHeight = 20
    end
  end
  inherited pnlMain: TPanel
    Height = 335
    ExplicitHeight = 335
    inherited MainDataGrid: TcxGrid
      Left = 316
      Width = 493
      Height = 335
      OnEnter = MainDataGridEnter
      ExplicitLeft = 316
      ExplicitWidth = 493
      ExplicitHeight = 335
      object viewInit: TcxGridDBBandedTableView [1]
        OnMouseDown = viewInitMouseDown
        Navigator.Buttons.CustomButtons = <>
        OnCustomDrawCell = viewInitCustomDrawCell
        DataController.DataSource = MainDataSource
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
            Column = viewInitdcbbalamt
          end
          item
            Kind = skSum
            Column = viewInitdcbsuramt
          end>
        DataController.Summary.SummaryGroups = <>
        OptionsBehavior.AlwaysShowEditor = True
        OptionsBehavior.FocusCellOnTab = True
        OptionsBehavior.FocusFirstCellOnNewRecord = True
        OptionsBehavior.GoToNextCellOnEnter = True
        OptionsBehavior.FocusCellOnCycle = True
        OptionsData.Appending = True
        OptionsData.Deleting = False
        OptionsData.DeletingConfirmation = False
        OptionsView.ColumnAutoWidth = True
        OptionsView.Footer = True
        OptionsView.GroupByBox = False
        OptionsView.GroupFooterMultiSummaries = True
        OptionsView.GroupFooters = gfAlwaysVisible
        Styles.Background = MainDM.bslBackGroup
        Styles.ContentEven = MainDM.bsEven
        Styles.ContentOdd = MainDM.bsOdd
        Styles.Footer = MainDM.bsTitle
        Styles.Header = MainDM.bsTitle
        Styles.Selection = MainDM.bsSelect
        Styles.BandHeader = MainDM.bsTitle
        Bands = <
          item
            FixedKind = fkLeft
          end
          item
            Caption = #24212#25910
          end
          item
            Caption = #39044#25910
          end>
        object viewInitcode: TcxGridDBBandedColumn
          Caption = #36135#24065#32534#30721
          DataBinding.FieldName = 'code'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object viewInitmoneyname: TcxGridDBBandedColumn
          Caption = #24065#31181
          DataBinding.FieldName = 'moneyid'
          HeaderAlignmentHorz = taCenter
          Width = 80
          Position.BandIndex = 0
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object viewInittradername: TcxGridDBBandedColumn
          Caption = #24448#26469#21333#20301
          DataBinding.FieldName = 'traderid'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 100
          Position.BandIndex = 0
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
        object viewInitbbalrate: TcxGridDBBandedColumn
          Caption = #27719#29575
          DataBinding.FieldName = 'bbalrate'
          HeaderAlignmentHorz = taCenter
          Width = 60
          Position.BandIndex = 1
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object viewInitbbalamt: TcxGridDBBandedColumn
          Caption = #26399#21021#65288#21407#24065#65289
          DataBinding.FieldName = 'bbalamt'
          HeaderAlignmentHorz = taCenter
          Width = 80
          Position.BandIndex = 1
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object viewInitdcbbalamt: TcxGridDBBandedColumn
          Caption = #26399#21021#65288#26412#24065#65289
          DataBinding.FieldName = 'dcbbalamt'
          HeaderAlignmentHorz = taCenter
          Width = 80
          Position.BandIndex = 1
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
        object viewInitbsurrate: TcxGridDBBandedColumn
          Caption = #27719#29575
          DataBinding.FieldName = 'bsurrate'
          HeaderAlignmentHorz = taCenter
          Width = 60
          Position.BandIndex = 2
          Position.ColIndex = 0
          Position.RowIndex = 0
        end
        object viewInitbsuramt: TcxGridDBBandedColumn
          Caption = #26399#21021#65288#21407#24065#65289
          DataBinding.FieldName = 'bsuramt'
          HeaderAlignmentHorz = taCenter
          Width = 80
          Position.BandIndex = 2
          Position.ColIndex = 1
          Position.RowIndex = 0
        end
        object viewInitdcbsuramt: TcxGridDBBandedColumn
          Caption = #26399#21021#65288#26412#24065#65289
          DataBinding.FieldName = 'dcbsuramt'
          HeaderAlignmentHorz = taCenter
          Width = 80
          Position.BandIndex = 2
          Position.ColIndex = 2
          Position.RowIndex = 0
        end
      end
      inherited MainDataGridLevel1: TcxGridLevel
        GridView = viewInit
      end
    end
    object trvArea: TcxTreeView
      Tag = 1
      Left = 0
      Top = 0
      Width = 150
      Height = 335
      Align = alLeft
      TabOrder = 1
      OnChange = trvAreaChange
    end
    object trvTrader: TcxTreeView
      Left = 158
      Top = 0
      Width = 150
      Height = 335
      Align = alLeft
      ParentShowHint = False
      ShowHint = False
      TabOrder = 3
      Images = ImageList1
      OnChange = trvTraderChange
    end
    object cxSplitter1: TcxSplitter
      Left = 150
      Top = 0
      Width = 8
      Height = 335
      Cursor = crHSplit
      HotZoneClassName = 'TcxSimpleStyle'
      Control = trvArea
    end
    object cxSplitter2: TcxSplitter
      Left = 308
      Top = 0
      Width = 8
      Height = 335
      Cursor = crHSplit
      HotZoneClassName = 'TcxSimpleStyle'
      Control = trvTrader
    end
  end
  inherited pnlBottom: TPanel
    Top = 380
    Height = 42
    ExplicitTop = 380
    ExplicitHeight = 42
    DesignSize = (
      809
      42)
    inherited chkGroupSort: TcxCheckBox
      Top = 15
      Visible = False
      ExplicitTop = 15
      ExplicitWidth = 72
    end
    inherited chkHandGroup: TcxCheckBox
      Top = 15
      Visible = False
      ExplicitTop = 15
      ExplicitWidth = 72
    end
    inherited lblGroupSort: TcxLabel
      Style.IsFontAssigned = True
    end
    inherited edtPause: TcxComboBox
      Left = 818
      Top = 13
      ExplicitLeft = 818
      ExplicitTop = 13
      ExplicitHeight = 20
    end
    inherited btnOperator: TcxButton
      TabOrder = 7
    end
    inherited chkGridFilter: TcxCheckBox
      Left = 640
      ExplicitLeft = 640
      ExplicitWidth = 72
    end
    object btnSave: TcxButton
      Left = 720
      Top = 9
      Width = 75
      Height = 25
      Anchors = [akTop, akRight]
      Caption = #20445#23384
      TabOrder = 4
      OnClick = btnSaveClick
    end
  end
  inherited MainDataSource: TDataSource
    DataSet = cdsMain
  end
  inherited PopupMenu1: TPopupMenu
    inherited PopmnuDeleteRecord: TMenuItem
      Visible = False
    end
    inherited pmDeleteAllRecord: TMenuItem
      Visible = False
    end
    inherited pmuExport: TMenuItem
      Visible = False
    end
    inherited muGroupSort: TMenuItem
      Visible = False
    end
    inherited muHandGroup: TMenuItem
      Visible = False
    end
    inherited pmuFind: TMenuItem
      Visible = False
    end
  end
  inherited MainDataSetU: TUniQuery
    SQL.Strings = (
      'select m.traderid,m.moneyid,am.name,m.bbalrate,m.bbalamt,'
      
        '       m.blcbalamt,m.bsurrate,m.bsuramt,m.blcsuramt,am.calctype,' +
        'am.code'
      
        'from td_tradersetacc m left join td_money am on m.moneyid=am.mon' +
        'eyid'
      
        'where 1=1 and (m.bbalamt <> 0 or m.dcbbalamt <> 0 or m.bsuramt <' +
        '> 0 or m.dcbsuramt <> 0)')
    object MainDataSetUcode: TStringField
      FieldName = 'code'
      Size = 40
    end
    object MainDataSetUname: TStringField
      FieldName = 'name'
      Size = 60
    end
    object MainDataSetUbbalrate: TFloatField
      FieldName = 'bbalrate'
    end
    object MainDataSetUbbalamt: TFloatField
      FieldName = 'bbalamt'
    end
    object MainDataSetUdcbbalamt: TFloatField
      FieldName = 'dcbbalamt'
    end
    object MainDataSetUbsurrate: TFloatField
      FieldName = 'bsurrate'
    end
    object MainDataSetUbsuramt: TFloatField
      FieldName = 'bsuramt'
    end
    object MainDataSetUdcbsuramt: TFloatField
      FieldName = 'dcbsuramt'
    end
    object MainDataSetUtraderid: TIntegerField
      FieldName = 'traderid'
    end
    object MainDataSetUmoneyid: TIntegerField
      FieldName = 'moneyid'
    end
    object MainDataSetUcalctype: TIntegerField
      FieldName = 'calctype'
    end
    object MainDataSetUt_name: TWideStringField
      FieldName = 't_name'
      Size = 60
    end
    object MainDataSetUt_code: TWideStringField
      FieldName = 't_code'
      Size = 40
    end
  end
  object cdsMain: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMain'
    AfterScroll = cdsMainAfterScroll
    Left = 256
    Top = 20
  end
  object dspMain: TDataSetProvider
    DataSet = MainDataSetU
    UpdateMode = upWhereKeyOnly
    BeforeUpdateRecord = dspMainBeforeUpdateRecord
    Left = 252
    Top = 80
  end
  object qryUpdate: TUniQuery
    Connection = MainDM.UniConn
    Left = 200
    Top = 401
  end
end
